package org.cybot.generator;

import org.cybot.entities.Bunch;
import org.cybot.entities.Circuit;
import org.cybot.entities.Race;

public class RaceGenerator extends AbstractGenerator<Race> {

	public Race generateInstance(Object... params) {
		Bunch bunch = new BunchGenerator().generateInstance(params);
		Circuit circuit = new CircuitGenerator().generateInstance(params);
		return new Race(bunch, circuit);
	}

}
